Skip to content

Conversation

@haahi-odoo
Copy link

Initializes the basic structure for the real estate module.

  • Creates the module scaffolding (manifest, init, and base directories).
  • Defines the initial 'estate.property' model.
  • Adds base fields (columns) to the new model.

Initializes the basic structure for the real estate module.
- Creates the module scaffolding (manifest, init, and base directories).
- Defines the initial 'estate.property' model.
- Adds base fields (columns) to the new model.
Initializes the basic structure for the real estate module.
- Creates the module scaffolding (manifest, init, and base directories).
- Defines the initial 'estate.property' model.
- Adds base fields (columns) to the new model.
@robodoo
Copy link

robodoo commented Nov 5, 2025

Pull request status dashboard

- Set default values for estate.property model fields.
- Apply additional field attributes (e.g., readonly, required).
- Register menu items to access the tree and form views.
- added  basic, list and form view
- also added  filter for new or offer received stage
- pincode feild name had spelling mistake in views/estate_property_views.xml
…nctionality

-Developed and integrated list, form, and search views for the Real Estate module
-Including support for group-by operations.
Copy link

@bit-odoo bit-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,
Good Job!
I have left some remarks.

please update your commit message and title. you can refer this documentation :- https://www.odoo.com/documentation/19.0/contributing/development/git_guidelines.html#commit-message-full-description

'application': True,
'installable': True,
'author': 'Odoo S.A.',
'category':'Tutorials',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'category':'Tutorials',
'category': 'Tutorials',

'views/estate_menus.xml',
],
}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An empty line should be without whitespace.

copy=False,
default='new'
)

No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An empty line should be without whitespace.

Comment on lines 10 to 19
description = fields.Text("Description")
postcode = fields.Char("Postcode", required=True)
date_availability = fields.Date("Availability Date", default=fields.Date.today()+relativedelta(months=3))
expected_price = fields.Float(required=True)
selling_price = fields.Float("Selling Price", readonly=True)
bedrooms = fields.Integer("Bedrooms", default=2)
living_area = fields.Integer("living_area(sqm)")
facades = fields.Integer("Facades")
garage = fields.Boolean("Garage")
garden = fields.Boolean("Garden")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, Odoo generates a string. If your string is the same as the technical name, then no need to add.

Comment on lines 5 to 7
<menuitem id="estate_advertisement_menu"
name="Advertisements"
parent="estate_root_menu"/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<menuitem id="estate_advertisement_menu"
name="Advertisements"
parent="estate_root_menu"/>
<menuitem id="estate_advertisement_menu"
name="Advertisements"
parent="estate_root_menu"/>

@@ -0,0 +1,90 @@

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary diff.

<filter name="group_by_postcode"
string="Group by Postcode"
context="{'group_by': 'postcode'}"/>

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary diff.

<search string="Search Properties">
<field name="name"/>
<field name="postcode"/>

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary diff.

Comment on lines 72 to 74
<filter name="group_by_postcode"
string="Group by Postcode"
context="{'group_by': 'postcode'}"/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proper indentation needed.

</record>


</odoo> No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be one empty line at the end of the file.

-Introduced Property Type and Property Tag models.
-Added Buyer and Salesperson fields.
-Implemented the Property Offer model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants